// item.h

#ifndef ITEM_H
#define ITEM_H

class Item {
    private:
        int _itemId;
        int _aisle;
        double _price;
        int _quantity;
    public:
    //Constructor
    Item(); //Default constructer used with COPY and Assigment and SET method
    Item(int i, int a, double p, int q); //Initialize a item with values
    Item(const Item &itemSource); //Copy Constructor
    Item& operator= (const Item &itemSource); //Assignment opperator

    //Methods
    void set(int i, int a, double p, int q); //Used to set an Item with no vars
    int getItemId(); //Returns the item ID which will be the 
                     //same as the global array index
    int getAisle(); //Returns the aisle number for the item
    double getPrice(); //Returns the price of the item
    int getQuantity();
    void IncreaseQuantity();
    void DecreaseQuantity();
};

#endif
